package yesjava;

import java.io.Serializable;
//
public class Student extends Person implements Live,Study{
    private String stuNo;
    public void study(){
        System.out.println("好好学习,天天向上");
    }

    @Override
    public void say() {
        System.out.println("我堂堂一个学生！");
    }

    @Override
    public void eat() {
        System.out.println("学生吃饭");
    }

    @Override
    public void drink() {

    }

    public String getStuNo() {
        return stuNo;
    }

    public Student setStuNo(String stuNo) {
        this.stuNo = stuNo;
        return this;
    }

    public void sleep() {
        System.out.println("学生睡觉");
    }

    public void read() {
        System.out.println("");
    }

    public void write() {

    }
}
